package com.gcxy.dto.clazz;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("班级列表查询条件")
public class GetClazzListDTO {

    /**
     * 机构ID
     */
    @ApiModelProperty("机构ID")
    @NotNull(message = "机构ID必填")
    @Min(value = 1,  message = "机构ID大于1")
    private Integer agencyId;

    /**
     * 学期ID
     */
    @ApiModelProperty("学期ID")
    @Min(value = 1,  message = "学期ID大于1")
    private Integer semesterId;
}
